package com.ruoyi.project.user.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;

/**
 * 违规记录对象 bins_violation_record
 * 
 * @author administrator
 * @date 2025-04-03
 */
public class BinsViolationRecord extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 违规ID */
    private Long violationId;

    /** 违规类型 */
    @Excel(name = "违规类型")
    private String violationType;

    /** 违规时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "违规时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date violationTime;

    /** 违规记录 */
    @Excel(name = "违规记录")
    private String targetInfo;

    /** 处理状态（0未处理 1已处理） */
    @Excel(name = "处理状态", readConverterExp = "0=未处理,1=已处理")
    private Long handleStatus;

    /** 车辆ID */
    @Excel(name = "车辆ID")
    private String vehicleId;

    /** 司机编码 */
    @Excel(name = "司机编码")
    private String userId;

    /** 处理时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "处理时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date handleTime;

    /** 处理记录 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "处理记录", width = 30, dateFormat = "yyyy-MM-dd")
    private Date handleInfo;

    /** 备用1 */
    @Excel(name = "备用1")
    private String res3;

    public void setViolationId(Long violationId) 
    {
        this.violationId = violationId;
    }

    public Long getViolationId() 
    {
        return violationId;
    }

    public void setViolationType(String violationType) 
    {
        this.violationType = violationType;
    }

    public String getViolationType() 
    {
        return violationType;
    }

    public void setViolationTime(Date violationTime) 
    {
        this.violationTime = violationTime;
    }

    public Date getViolationTime() 
    {
        return violationTime;
    }

    public void setTargetInfo(String targetInfo) 
    {
        this.targetInfo = targetInfo;
    }

    public String getTargetInfo() 
    {
        return targetInfo;
    }

    public void setHandleStatus(Long handleStatus) 
    {
        this.handleStatus = handleStatus;
    }

    public Long getHandleStatus() 
    {
        return handleStatus;
    }

    public void setVehicleId(String vehicleId) 
    {
        this.vehicleId = vehicleId;
    }

    public String getVehicleId() 
    {
        return vehicleId;
    }

    public void setUserId(String userId) 
    {
        this.userId = userId;
    }

    public String getUserId() 
    {
        return userId;
    }

    public void setHandleTime(Date handleTime) 
    {
        this.handleTime = handleTime;
    }

    public Date getHandleTime() 
    {
        return handleTime;
    }

    public void setHandleInfo(Date handleInfo) 
    {
        this.handleInfo = handleInfo;
    }

    public Date getHandleInfo() 
    {
        return handleInfo;
    }

    public void setRes3(String res3) 
    {
        this.res3 = res3;
    }

    public String getRes3() 
    {
        return res3;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("violationId", getViolationId())
            .append("violationType", getViolationType())
            .append("violationTime", getViolationTime())
            .append("targetInfo", getTargetInfo())
            .append("handleStatus", getHandleStatus())
            .append("vehicleId", getVehicleId())
            .append("userId", getUserId())
            .append("handleTime", getHandleTime())
            .append("handleInfo", getHandleInfo())
            .append("res3", getRes3())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
